/*
 * @Author: HZH
 * @Date: 2021-10-20 15:31:17
 * @LastEditors: HZH
 * @LastEditTime: 2021-10-20 15:38:14
 * @Description: 
 */
import {request} from '@/utils/request'
import Axios from '_axios@0.18.1@axios'
export default {
    namespaced: true,
    state(){
        category:[]
    },
    mutations:{
        SET_CATEGORY(state,payload){
            state.category = payload
        }
    },
    actions:{
        async findAllCategory({commit}){
            let res = await request.get('/category/findAll')
        }
    }
  }
  